package com.sinosoft.system.primary.biz.imp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sinosoft.system.primary.biz.SysCredentialsBiz;
import com.sinosoft.system.primary.dao.imp.SysCredentialsDaoJdbc;
import com.sinosoft.system.primary.entity.SysCredentials;

@Service
public class SysCredentialsBizImp implements SysCredentialsBiz{

	@Autowired
	private SysCredentialsDaoJdbc sysCredentialsDao;
	
	@Override	
	@Transactional
	public void insertSysCredentials(SysCredentials sysCredentials) {
		sysCredentialsDao.insertSysCredentials(sysCredentials);		
	}

	public SysCredentialsDaoJdbc getSysCredentialsDao() {
		return sysCredentialsDao;
	}

	public void setSysCredentialsDao(SysCredentialsDaoJdbc sysCredentialsDao) {
		this.sysCredentialsDao = sysCredentialsDao;
	}

}
